package day012.neibulei.chengyuanneibulei.demo02;

public class Person {
    private String name="张三";
    private int num=10;

    public class Heart{
        int num=100;
        private int rate;

        public void beats(){
            System.out.println("咚咚咚！");
        }

        public void show(){
            int num=1000;
            System.out.println(num);
            System.out.println(this.num);
            System.out.println(Person.this.num);
        }
    }
}
